<template>
  <div class="">
    <n-dropdown trigger="hover" :options="OperationList" @select="handleSelect">
      <span class="sz ls">更多<i class="iconfont dx-xiala"></i></span>
    </n-dropdown>
  </div>
</template>
 <script lang='ts' setup>
import { ref } from "vue";
const props = defineProps({
  OperationList: { type: Object },
});
const handleSelect = async (key) => {
  console.log(props.OperationList);
  console.log(key);
  props.OperationList.filter((a) => a.key == key)[0].onClick();
};
</script>
 <style scoped>
</style>